package com.hmall.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(description = "支付单实体")
public class PayOrderDTO {

    /**
     * <p>
     * 支付订单
     * </p>
     */


        @ApiModelProperty("id")
        private Long id;
        @ApiModelProperty("业务订单号")
        private Long bizOrderNo;
        @ApiModelProperty("支付单号")
        private Long payOrderNo;
        @ApiModelProperty("支付用户id")
        private Long bizUserId;
        @ApiModelProperty("支付渠道编码")
        private String payChannelCode;
        @ApiModelProperty("支付金额，单位分")
        private Integer amount;
        @ApiModelProperty("付类型，1：h5,2:小程序，3：公众号，4：扫码，5：余额支付")
        private Integer payType;
        @ApiModelProperty("付状态，0：待提交，1:待支付，2：支付超时或取消，3：支付成功")
        private Integer status;
        @ApiModelProperty("拓展字段，用于传递不同渠道单独处理的字段")
        private String expandJson;
        @ApiModelProperty("第三方返回业务码")
        private String resultCode;
        @ApiModelProperty("第三方返回提示信息")
        private String resultMsg;
        @ApiModelProperty("支付成功时间")
        private LocalDateTime paySuccessTime;
        @ApiModelProperty("支付超时时间")
        private LocalDateTime payOverTime;
        @ApiModelProperty("支付二维码链接")
        private String qrCodeUrl;
        @ApiModelProperty("创建时间")
        private LocalDateTime createTime;
        @ApiModelProperty("更新时间")
        private LocalDateTime updateTime;

}
